SMTPSecureSocket Class

Used to send secure email via the SMTP protocol using SSL or TLS encryption.

Events

ConnectionEstablished

Error

MailSent

MessageSent

ServerError


Properties

Messages


Methods

DeleteAllMessages

DisconnectFromServer

SendMail


More information available in parent classes: SSLSocket:TCPSocket:SocketCore:Object


Notes

The SMTPSecureSocket class is the same as the SMTPSocket class except that it is derived from SSLSocket instead of TCPSocket. As a result, you can use the Secure property of the SSLSocket class to provide secure communications.

If you use a constructor in a subclass of a SMTPSecureSocket, you must call the Super class's constructor in your subclass's constructor. The subclass will not work unless this is done.


See Also

EmailMessage, HTTPSecureSocket, HTTPSocket, POP3SecureSocket, TCPSocket, POP3Socket, SMTPSocket, SocketCore classes.